<?php

/*
 * $Id: $
 * $Author: $
 * $LastChangedDate: $
 * $Revision: $
 */
namespace cmFly\controller\exceptions;

class redirect extends base {
    protected $route;
    protected $args;
    public function __construct($route,$args=NULL,$redirect_message=NULL,$prev_error=NULL) {
	parent::__construct($redirect_message,0,$prev_error);
	$this->route=$route;
	$this->args=$args;
    }
    public function get_route() {
	return $this->route;
    }
    public function get_args() {
	return $this->args;
    }
}